package com.example.controller;

import org.springframework.web.bind.annotation.*;

import javax.naming.Context;
import javax.naming.InitialContext;
// import com.alibaba.fastjson.parser.ParserConfig;

@RestController
@RequestMapping(value = "/authentication")
public class AuthenticationController {
    @GetMapping(value = "/currentUser")
    public String currentUser(String username) {
        System.out.println("AuthenticationController-currentUser" );
        return username ;
    }

}